package com.fish.service.passport;

import java.util.List;

import com.fish.common.constant.QueryPage;
import com.fish.product.po.PerformTarget;

public interface PerformTargetService {
	public int queryTargetCountByParams(String targetName);

	/**
	 * 按条件查询
	 * 
	 * @param 查询参数
	 */
	public List<PerformTarget> queryTargetByParams(String targetName, int start, int pageSize);

	/**
	 * 新增
	 * 
	 * @param PassProvider对象
	 */
	public void addPerformTarget(PerformTarget performTarget);

	/**
	 * 修改
	 */
	public void updatePerformTarget(PerformTarget performTarget);

	/**
	 * 删除
	 */
	public void deleteTargetById(String targetId);

	/**
	 * 查询
	 * 
	 * @param targetId
	 * @return
	 */
	public PerformTarget getPerformTargetById(String targetId);
	
	public Long queryPerformTargetCountByObject(PerformTarget performTarget);
	
	public List<PerformTarget> queryPerformTargetByObject(PerformTarget performTarget,QueryPage queryPage);
}
